package cn.wsalix.login.repository;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

import cn.anlaser.repository.SimpleRepository;
import cn.wsalix.login.entity.QQUser;

public interface QQUserRepository extends SimpleRepository<QQUser> {

	@Query(value = "select u from QQUser u where u.openId = :openId")
	public QQUser findByOpenId(@Param("openId") String openId);
}
